﻿namespace AnyOffice.Model
{
    using System;

    public class FlowSignData
    {
        protected int _signId = -1;
        protected object _signMemo;
        protected string _signName = string.Empty;
        protected int _signNo;

        public int SignId
        {
            get
            {
                return this._signId;
            }
            set
            {
                this._signId = value;
            }
        }

        public string SignMemo
        {
            get
            {
                return (string) this._signMemo;
            }
            set
            {
                this._signMemo = value;
            }
        }

        public bool SignMemoIsNull
        {
            get
            {
                return (this._signMemo == null);
            }
            set
            {
                if (value)
                {
                    this._signMemo = null;
                }
            }
        }

        public string SignName
        {
            get
            {
                return this._signName;
            }
            set
            {
                this._signName = value;
            }
        }

        public int SignNo
        {
            get
            {
                return this._signNo;
            }
            set
            {
                this._signNo = value;
            }
        }
    }
}

